package com.hnuit.dao;

import com.hnuit.po.Accounts;

import java.util.List;

public interface AccountsDao {
    //新增账户信息
    int insertAccounts(Accounts Accounts);
    //删除账户信息
    int deleteAccounts(int id);
    //修改账户信息
    int updateAccounts(Accounts Accounts);
    //查询账户所有信息
    List<Accounts> findAccounts();
    //查找某个账户对应的多条记录
    List<Accounts> findAccountsByAccountsId(int id);
}
